package com.gaotai.wangfei.exam.system.entity;

/**
 * 
 * <p>
 * Description: [学生的实体类]
 * </p>
 * 
 * @author <a href="mailto: wangfei@gaotai.cn">王飞</a>
 * @version $Revision$
 */
public class Student
{
	private Long id;//主键

	private String name;//姓名

	private Long age;//年龄

	private Integer sex;//性别

	//属性对应的getter和setter方法

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public Long getAge()
	{
		return age;
	}

	public void setAge(Long age)
	{
		this.age = age;
	}

	public Integer getSex()
	{
		return sex;
	}

	public void setSex(Integer sex)
	{
		this.sex = sex;
	}

	//学生类相对应的构造函数
	public Student()
	{
		super();
	}

	public Student(Long id)
	{
		super();
		this.id = id;
	}

	public Student(Long id, String name, Long age, Integer sex)
	{
		super();
		this.id = id;
		this.name = name;
		this.age = age;
		this.sex = sex;
	}

}
